package cn.com.petrochina.lpm3.vo.mdm;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

@Data
public class ResponseBody<T> {
    //    "ET_MESSAGE": {
//        "MSGNO": "001",
//                "MSGTY": "E",
//                "MESSAGE": "Access Key Not Authorized"
//    }
    @JsonProperty("ET_MESSAGE")
    public Message message;

    @JsonProperty("Result")
    public T result;

    @Data
    public static class Message {
        @JsonProperty("MSGNO")
        private String msgNo;

        @JsonProperty("MSGTY")
        private String msyTy;

        @JsonProperty("MESSAGE")
        private String message;
    }
}
